package com.srp.servise;


import com.srp.pojo.CreateOrLoginReturn;
import com.srp.pojo.EditUserInfoReturn;
import com.srp.pojo.GetUserInfoReturn;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface UserService {
     CreateOrLoginReturn createUser(String phone, String password);
     CreateOrLoginReturn loginUser(String phone, String password);
     EditUserInfoReturn editInformation(String id, MultipartFile avatar, String name) throws IOException;
     GetUserInfoReturn getUserInfo(String id);
}
